import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/order/admin/list',
    method: 'get',
    params: data
  })
}

export function handle(data) {
  return request({
    url: '/order/handle',
    method: 'post',
    data: data
  })
}

export function getSendList(data) {
  return request({
    url: '/order/admin/get_send_list',
    method: 'get',
    params: data
  })
}

export function reviewOrderList(data) {
  return request({
    url: '/order/review_order_list',
    method: 'get',
    params: data
  })
}

export function reviewOrder(data) {
  return request({
    url: '/order/review_order',
    method: 'post',
    params: data
  })
}

export function reviewOrderGold(data) {
  return request({
    url: '/order/review_order_gold',
    method: 'get',
    params: data
  })
}
